Total Complexity | 40 |
Dependencies | 4 |
Dependents | 0 |
Total lines | 194 |
Lines of code | 124 |
Logical lines of code | 77 |
Comment lines | 2 |
Methods | 11 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
hasValidPostTerms() | 50 | 8 | 28 | |
validateLegacyPostQuery() | 56 | 7 | 21 | |
hasValidPostType() | 60 | 5 | 13 | |
hasValidPostId() | 63 | 4 | 10 | |
validateJsonPostQuery() | 62 | 3 | 12 | |
hasValidPost() | 65 | 3 | 9 | |
hasValidPostStatus() | 67 | 3 | 7 | |
validate() | 65 | 2 | 9 | |
isLegacyPostQuery() | 77 | 2 | 3 | |
hasValidPostAuthor() | 66 | 2 | 8 | |
__construct() | 77 | 1 | 4 |